Skip to content

Update cp_gaia_initial_setup.py#67

Open
duanetoler wants to merge 1 commit intoCheckPointSW:masterfrom
duanetoler:master
Open

Update cp_gaia_initial_setup.py#67
duanetoler wants to merge 1 commit intoCheckPointSW:masterfrom
duanetoler:master

Conversation

@duanetoler
Copy link
Contributor

  • Add grub_password parameter
  • Update documentation for grub_password
  • Update example to include grub_password parameter

* Add grub_password parameter
* Update documentation for grub_password
* Update example to include grub_password parameter
@ktbyers
Copy link

ktbyers commented Mar 10, 2026

I tested this and it generally worked. The only issue I saw was that I had to always provide the grub_password field regardless of whether I had already provided it.

Here is the error I received:

$ ansible-playbook first_time_wizard.yml 

PLAY [Run the first time wizard] ************************************************************************

TASK [Set grub password] ********************************************************************************
[WARNING]: No inventory was parsed, only implicit localhost is available
changed: [pod99-gaia]

TASK [Gaia Save Config] *********************************************************************************
changed: [pod99-gaia]

TASK [Initial setup] ************************************************************************************
fatal: [pod99-gaia]: FAILED! => {
    "changed": false
}

MSG:

Task /set-initial-setup with task id ab37a55a-fe58-4e13-8363-6293e1b65ec1 failed: GRUB password is missing, default initial password for GRUB must be changed

I set the grub password in the first task:

  6     - name: Set grub password
  7       check_point.gaia.cp_gaia_grub_password:
  8         password: bogus123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants